#pragma once
#include "TreeNode.h"
#include <vector>
using std::vector;
void postorderTraversal(TreeNode* root, vector<int>& cache);
vector<int> postorderTraversal(TreeNode* root);